async function handlePageNoChange(val) {
  console.log(val);
}

async function handlePageSizeChange(val) {
  console.log(val);
}

async function handleSearch(context, requestData) {
  const { http } = context;
  console.log(requestData);
  await http({
    url: "/api/params/get",
    method: "get",
    params: requestData,
  }).then(res => {
    const { data } = res;
    debugger
    console.log(data);
  });
  return {
    list: [
      { name: "1", telephone: "1", age: 2 },
      { name: "1", telephone: "2", age: 2 },
      { name: "1", telephone: "3", age: 2 },
    ],
    total: 3,
  };
}

async function handlePrev(pageNo) {
  console.log(pageNo);
  return {
    list: [
      { name: "1", telephone: "1", age: 2 },
      { name: "1", telephone: "2", age: 2 },
      { name: "1", telephone: "3", age: 2 },
    ],
    total: 3,
  };
}

